-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cxl-ui): cxl-base-card add lazyload for avatar image #392
base: master
Are you sure you want to change the base?
Conversation
size-limit report 📦
|
Why would it ever be optional, though? |
In situation when card is above the fold:
|
That's what I'm saying: are cards ever above the fold? Dashboard? |
@@ -36,6 +36,8 @@ export class CXLBaseCardElement extends LitElement { | |||
|
|||
@property({ type: Boolean, reflect: true, attribute: 'show-time-icon' }) showTimeIcon = false; | |||
|
|||
@property({ type: Boolean }) lazyload = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps lazy
or lazyLoad
instead? The attribute would be lazy-load
:)
yes, dashboard, category pages etc. |
No description provided.